<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"  language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html locale="true">
<head>
</head>
<body>
<form>
<table width="70%">
	<tr>
		<td class="csstextr">Área</td>
		<td class="csstextr">Subgerencia</td>
		<td class="csstextr">Gerencia</td>
		<td class="csstextr">VP</td>
		<td class="csstextr">Proveedor</td>
		<td class="csstextr"><input type="checkbox" class="chkTodos"/></td>
	</tr>
	<c:set var="i" ></c:set>
	<c:if test="${procesoNivel2Form.encuestaTO.lstProveedorServicio!=null }">
		<logic:iterate id="ps" property="encuestaTO.lstProveedorServicio" name="procesoNivel2Form">
		<tr>
			<td class="csstextr2"><bean:write name="ps" property="nombArea"/></td>
			<td class="csstextr2"><bean:write name="ps" property="nombSubgerencia"/></td>
			<td class="csstextr2"><bean:write name="ps" property="nombGerencia"/></td>
			<td class="csstextr2"><bean:write name="ps" property="nombVP"/></td>
			<td class="csstextr2"><bean:write name="ps" property="nombre"/></td>
			<td class="csstextr2">
			<c:if test="${ps.existeEnProceso==0}">
				<input type="checkbox" class="chkPS" 
			    value="<bean:write name="ps" property="rut"/>,<bean:write name="ps" property="nombre"/>,<bean:write name="ps" property="nombreUsuario"/>,<bean:write name="ps" property="codArea"/>,<bean:write name="ps" property="nombArea"/>,<bean:write name="ps" property="codSubgerencia"/>,<bean:write name="ps" property="nombSubgerencia"/>,<bean:write name="ps" property="codGerencia"/>,<bean:write name="ps" property="nombGerencia"/>,<bean:write name="ps" property="codVP"/>,<bean:write name="ps" property="nombVP"/>, "
			    extraparam="<bean:write name="ps" property="nombVP"/>,<bean:write name="ps" property="nombGerencia"/>,<bean:write name="ps" property="nombSubgerencia"/>,<bean:write name="ps" property="nombArea"/>,<bean:write name="ps" property="nombre"/>"
			    />
			</c:if>
			</td>
		</tr>
		</logic:iterate>
	</c:if>
	<c:if test="${procesoNivel2Form.encuestaTO.lstProveedorServicio==null }">
		<tr>
			<td class="csstextr2" colspan="6">No se encontraron Proveedores de Servicio en la encuesta</td>
		</tr>
	</c:if>
</table>
</form>
</body>
</html:html>
